<header class="wst-nav <?php if(CONTROLLER_NAME=='Index'){ echo 'home-nav';}?>" id="header">
  <div class="am-g">
    <div class="am-u-sm-3 header-left">
      <a href="#changeCity">
        <img src="__ROOT__/Apps/WebApp/View/default/images/location.png" class="city-icon">
        <span class="city-name" id="cityName"><?php echo session('areaName2');?></span>
      </a>
    </div>
    <div class="am-u-sm-7 wst-nav-center home-header-center">
      <div class="am-form-group am-form-icon wst-home-search">
        <i class="am-icon-search search-bg"></i>
        <input type="text" id="wst-nav-search" class="am-form-field am-round am-input-sm wst-nav-search" placeholder="搜索<?php if(CONTROLLER_NAME=='Shops'){ echo '商家';}else{ echo '商品';}?>" value="{$searchKey}">
      </div>
    </div>
    <div class="am-u-sm-2">
      <span class="wst-header-right wst-pointer" onclick="javascript:WSTSearch(<?php if(CONTROLLER_NAME=='Shops'){ echo 1;}?>);">搜索</span>
    </div>
  </div>
</header> 
